package com.qj.yantaishan.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qj.yantaishan.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("shanglala_user")
public class UserVo {
    @TableField(exist = false)
    /**
     * 会员等级id
     */
    private Integer ssvId;
    /**
     * 头像
     */
    @Excel(name = "头像")
    private String avatar;
    @TableId(type = IdType.AUTO)
    private Integer uid;
    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String nickname;
    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;
    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String password;
    /**
     * 代理商ID
     */
    @Excel(name = "代理商ID")
    private String agentId;
    /**
     * 积分总额
     */
    @Excel(name = "积分总额")
    @TableField(exist = false)
    private BigDecimal point;
    @TableField(exist = false)
    /**
     * 用户余额
     */
    private BigDecimal cash;

    /**
     * 是否黑名单
     */
    @TableField(exist = false)
    private Integer isBlack;
    @TableField(exist = false)
    /**
     * 会员等级  kry_vip_name名
     */

    private String kryVipName;
    /**
     * 直属店铺 name
     */
    @TableField(exist = false)
    private String storeName;

    /**
     * 注册时间
     */
    @Excel(name = "注册时间")
    private Long regTime;

    /**
     * 小程序用户最后登录时间
     */
    @Excel(name = "小程序用户最后登录时间")
    private String lastLoginTime;
}
